import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
import Modules from '../component/setting/homeSetting';
import * as moduleAction from '../actions/module';

const mapStateToProps = (state) => {
  return state;
};
const mapDispatchToProps = (dispatch) => {
  return {
    moduleActions: bindActionCreators(moduleAction, dispatch),
  }
};
export default connect(mapStateToProps, mapDispatchToProps)(Modules);



